<%@ page import="apralms.User"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="layout" content="main" />
<title>登录</title>
</head>
<body>
	<div class="nav" role="navigation">
		<ul>
			<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
		</ul>
	</div>
		
	<div class="content">
		<h1>用户登录</h1>
		<g:if test="${flash.message}">
			<div class="message">
				${flash.message}
			</div>
		</g:if>

		<g:form action="authenticate" method="post" > 
			<fieldset class="form">
				<div class="fieldcontain">
					<label for="login"><g:message code="user.login.label" default="Login" /></label> 
					<input type="text" id="login" name="login" />

				</div>
				<div class="fieldcontain">
					<label for="password"> <g:message code="user.password.label" default="Password" /></label>
					<input type="password" id="password" name="password" />

				</div>
			</fieldset>
			<fieldset class="buttons">
				<span class="button"> <input type="submit" value="登入" />
				</span>
			</fieldset>
		</g:form>
	</div>
</body>
</html>
